package com.ssm.custom.dao.model.notice;

import com.jee.ssm.common.core.base.BaseModel;
import com.ssm.icc.dao.model.residence.Residence;

import java.util.Date;

/**
 * 
 * 表名 d_notice
 * @author GaoXiang
 * @version 1.0
 * Create time 2017/05/17
 */
public class Notice extends BaseModel {
    /**
     * 
     * 表字段 : d_notice.id
     * Create time 2017/05/17
     */
    private String id;

    /**
     * 公告
     * 表字段 : d_notice.notice
     * Create time 2017/05/17
     */
    private String notice;

    /**
     * 时间
     * 表字段 : d_notice.set_time
     * Create time 2017/05/17
     */
    private Date setTime;

    /**
     * 
     * 表字段 : d_notice.out_time
     * Create time 2017/05/17
     */
    private Date outTime;

    /**
     * 指定小区id
     * 表字段 : d_notice.residence_id
     * Create time 2017/05/17
     */
    private String residenceId;

    private Residence residence;

    /**
     * 构造方法
     */
    public Notice(String id, String notice, Date setTime, Date outTime, String residenceId) {
        this.id = id;
        this.notice = notice;
        this.setTime = setTime;
        this.outTime = outTime;
        this.residenceId = residenceId;
    }

    /**
     * 构造方法
     */
    public Notice() {
        super();
    }

    /**
     * 
     * @return id 
     */
    public String getId() {
        return id;
    }

    /**
     * 
     * @param id 
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 公告
     * @return notice 公告
     */
    public String getNotice() {
        return notice;
    }

    /**
     * 公告
     * @param notice 公告
     */
    public void setNotice(String notice) {
        this.notice = notice;
    }

    /**
     * 时间
     * @return set_time 时间
     */
    public Date getSetTime() {
        return setTime;
    }

    /**
     * 时间
     * @param setTime 时间
     */
    public void setSetTime(Date setTime) {
        this.setTime = setTime;
    }

    /**
     * 
     * @return out_time 
     */
    public Date getOutTime() {
        return outTime;
    }

    /**
     * 
     * @param outTime 
     */
    public void setOutTime(Date outTime) {
        this.outTime = outTime;
    }

    /**
     * 指定小区id
     * @return residence_id 指定小区id
     */
    public String getResidenceId() {
        return residenceId;
    }

    /**
     * 指定小区id
     * @param residenceId 指定小区id
     */
    public void setResidenceId(String residenceId) {
        this.residenceId = residenceId;
    }

    public Residence getResidence() {
        return residence;
    }

    public void setResidence(Residence residence) {
        this.residence = residence;
    }
}